# project file for pocketcud server app

TEMPLATE = app 
include(../common.pri)


TARGET = autoserver

QT -= gui
QT += network xml

SOURCES += \
	serverthread.cpp \
	serverlistener.cpp \
	imageanalyzer.cpp \
	autoserver.cpp \
	globaldata.cpp \
	server.cpp \
	camera1params.cpp

HEADERS += \
	serverthread.h \
	serverlistener.h \
	imageanalyzer.h \
	globaldata.h \
	constants.h \
	server.h \
	camera1params.h

# conditional - use fake-cmaera on pc and rea one on arm
contains( PLATFORM, arm ){
    CONFIG += warn_on

    LIBS += -lgpio \
-lcamera
}
contains( PLATFORM, linux ){
    LIBS += -lfakecamera
}

CONFIG += warn_on

INCLUDEPATH += ../gcommon \
../gparams \
../gparamdescription \
../libanalyzer \
../libgnet \
../libautonet \
../gpio/ \
../libcamera
LIBS += -lgcommon \
-lautonet \
-lgnet \
-lanalyzer \
-lgparams \
-lgparamdescription
